﻿<cfset mapping = event.getModelGlue().configuration.APPLICATIONMAPPING />

<cfset skin = event.getValue( 'skin' )/>
<cfset blog = event.getValue( 'blog' )/>

<cfset postCount = event.getValue( 'Post.count' )/>
<cfset posts = event.getValue( 'Post.list' )/>
<cfset post = event.getValue( 'Post' )/>

<cfset prevPage = event.getValue( 'prevPage' ) />
<cfset nextPage = event.getValue( 'nextPage' ) />

<cfset comment = event.getValue( 'Comment' ) />
<cfset comments = event.getValue( 'Comment.list' ) />
<cfset lastComment = event.getValue( 'Comment.last' ) />

<cfset baseUrl = event.linkTo('') />

<cfmodule template="#mapping#/views/blog/skin.cfm" 
		  skin="#mapping#/skin/#skin.getName()#/#event.getValue( 'template.skin' )#.cfm" 
		  mapping="#mapping#/skin/#skin.getName()#"
		  blog="#blog#"
		  post="#post#"
		  posts="#posts#"
		  postCount="#postCount#"
		  comments="#comments#"
		  lastComment="#lastComment#"
		  prevPage="#prevPage#"
		  nextPage="#nextPage#"
		  baseUrl="#baseUrl#"
		  
		   />
